<?php

namespace frontendm\models;

/**
 * @author  shuang
 * @date    2017-2-7 16:30:49
 * @version V1.0
 * @desc    
 */
use common\models\UserDrawalRecord;
use Yii;
class WB_UserDrawalRecord extends UserDrawalRecord{
    public static function getList() {
        $query = WB_UserDrawalRecord::find()->where("userid=:userid",["userid"=>Yii::$app->user->id])->orderBy("payment_time desc");
        return $query->all();
    }
}
